package com.example.noteback.student.service.impl;


import com.example.noteback.student.domain.Student;
import com.example.noteback.student.mapper.StudentMapper;
import com.example.noteback.student.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StudentServiceImpl implements IStudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public Integer batchInsert(List<Student> students) {
        return this.studentMapper.batchInsert(students);
    }
}
